<template>
  <router-view />
</template>

<script>
export default {
  name: 'App',
}
</script>

<style lang="scss">
@import 'assets/styles/element-variables.scss';
// 虚线

.itemHover {
  cursor: pointer;
  // border-radius: 20px;
  box-shadow: 0px 3px 5px #d1d9e6, 0px -3px 5px #fff;
  transition: 300ms ease-out all;
  &:hover {
    transform: translateY(-20px);
    box-shadow: 0px 9px 15px #d1d9e6, 0px -9px 15px #fff;
    .img-container {
      .el-image {
        width: 120%;
        height: 120%;
      }
    }
    // border-color: #1678ff;

    // -webkit-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.35);
    // box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.35);

    // box-shadow: 0px 14px 10px 0px #a2b7d4 !important;
    // -webkit-box-shadow: 0px 14px 10px 0px #a2b7d4;
    // -moz-box-shadow: 0px 14px 10px 0px #a2b7d4;

    // border-radius: 20px;
    // box-shadow: inset 18px 18px 30px #d1d9e6, inset -18px -18px 30px #fff;
  }
}

.self-container {
  width: 1200px;
  min-width: 1200px;
  margin: auto;
  .el-row {
    width: 100%;
    min-width: 100%;
  }

  .head-bg {
    position: relative;
    height: 350px;
    .el-image {
      width: 100%;
      height: 100%;
    }
  }
}
.main-content {
  @apply flex items-start;
  padding: 48px 0;
  .content-head {
    position: relative;
    font-size: 24px;
    font-family: Source Han Sans CN, Source Han Sans CN-Bold;
    font-weight: 700;
    color: #1678ff;
    padding-left: 8px;
    &::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 4px;
      height: 17px;
      background: #1678ff;
    }
  }
  .content {
    @apply flex-grow p-0 pr-4;
  }
}
.detail-container {
  width: 1200px;
  min-width: 1200px;
  margin: auto;

  .detail-head-title {
    margin-top: 5px;
    font-size: 1.5rem;
    font-weight: bold;
  }
  .detail-sub-title {
    margin-top: 24px;
    & > div:not(:first-child) {
      margin-left: 50px;
    }
  }

  .item {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 138px;
    // max-height: 500px;

    border-radius: 5px;
    border: solid 1px #efefef;
    background-color: #ecf4ff;
    transition: 300ms ease all;
    cursor: pointer;

    .left {
      min-width: 578px;
      width: 578px;
      height: 100%;
      background-color: #fff;
      .el-image {
        width: 578px;
        height: 337px;
      }
    }

    .head {
      line-height: 2rem;

      .title {
        font-size: 24px;
        font-family: Source Han Sans CN, Source Han Sans CN-Bold;
        font-weight: 700;
      }
      .sub {
        font-size: 12px;
        font-weight: 400;
        text-align: left;
        color: hsl(215, 100%, 54%);
      }
    }

    .right {
      flex-grow: 1;
      padding: 40px;
      .right-content {
        margin-top: 48px;
      }
      .main {
        padding-bottom: 0.5rem;
        color: #606266;
        & > div {
          display: inline-block;
        }
        .label-w {
          display: inline-block;
          min-width: 80px;

          width: 80px;
          margin-right: 4px;
        }
        .label {
          font-size: 16px;
          font-family: Source Han Sans CN, Source Han Sans CN-Regular;
          font-weight: 400;
          color: #666666;
        }
        .label-v {
          font-size: 16px;
          font-family: Source Han Sans CN, Source Han Sans CN-Regular;
          font-weight: 400;
          color: #333333;
          line-height: 32px;
        }
      }
    }
    .right-btn {
      position: absolute;
      right: 0;
      top: 0;
      display: flex;
      width: 220px;
      height: 100%;
      align-items: center;
      .el-button {
        width: 188px;
        height: 40px;
      }
    }
  }
  .content {
    min-height: 200px;
    margin-top: 20px;
    // padding: 20px 0;
  }
}

.aside {
  height: auto;
  min-width: 390px;
  width: 390px;
  min-height: 349px;
  max-height: 531px;
  .head {
    font-size: 16px;
    padding: 19px 16px;
    font-family: Source Han Sans CN, Source Han Sans CN-Bold;
    font-weight: 700;
    color: #333333;
    @apply relative -top-1 py-4 border-t-4 border-blue-500 px-4;

    &::after {
      content: '';
      display: block;
      margin-top: 6px;
      width: 32px;
      height: 1px;
      background-color: #cfcfcf;
    }
  }
  .aside-item-active {
    background-color: #d3d3d3;
  }
  @apply border  border-gray-300;
  .line-1 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
  }
  .recommend-item {
    @apply border-b cursor-pointer;
    padding: 16px 0;

    .title {
      font-size: 14px;
      font-family: Microsoft YaHei, Microsoft YaHei-Bold;
      font-weight: 700;
      padding-bottom: 8px;
      color: #333333;
    }
    .sub-title {
      min-height: 15px;
      font-size: 14px;
      font-family: Source Han Sans CN, Source Han Sans CN-Regular;
      font-weight: 400;
      text-align: left;
      color: #666666;
    }
    .avatar-container {
      width: 61px;
      height: 61px;
      padding: 5px;
      margin-right: 3px;
      border-radius: 50%;
      overflow: hidden;
    }
  }
  .recommend-item:last-of-type {
    border-bottom: none;
  }
}
</style>
